aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/sitemap/test/fixtures/dynamic/src/pages/[...slug].astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/sitemap/test/fixtures/dynamic/src/pages/[...slug].astro')
-rw-r--r--packages/integrations/sitemap/test/fixtures/dynamic/src/pages/[...slug].astro21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/integrations/sitemap/test/fixtures/dynamic/src/pages/[...slug].astro b/packages/integrations/sitemap/test/fixtures/dynamic/src/pages/[...slug].astro
new file mode 100644
index 000000000..9622cb374
--- /dev/null
+++ b/packages/integrations/sitemap/test/fixtures/dynamic/src/pages/[...slug].astro
@@ -0,0 +1,21 @@
+---
+export async function getStaticPaths() {
+ return [
+ {
+ params: {
+ slug: undefined,
+ }
+ },
+ {
+ params: {
+ slug: '/blog'
+ }
+ },
+ {
+ params: {
+ slug: '/test'
+ }
+ }
+ ];
+}
+---